package com.bigcms.service;

import com.bigcms.domain.Type;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArtTypeService {
    int addType(Type type);

    int editType(Type type);

    Type getType(int id);

    List<Type> getTypes();

    int delType(int id);
}
